<template>
  <div class="wrapper">
    <div class="header">
      <ul>
        <li></li>
        <li></li>
        <li></li>
      </ul>
    </div>
    <div class="catagery">
      <div class="catagery-top">
        <i class="el-icon-menu" style="font-size: 24px;"></i>
        <span>商品统计</span>
      </div>
      <div class="catagery-bottom">
        <ul>
          <li>
            <p>240</p>
            <p>萌芽班课程</p>
          </li>
          <li>
            <p>240</p>
            <p>萌芽班课程</p>
          </li>
          <li>
            <p>240</p>
            <p>萌芽班课程</p>
          </li>
          <li>
            <p>240</p>
            <p>萌芽班课程</p>
          </li>
        </ul>
      </div>
    </div> 
    <div class="info">
      <ul>
        <li>
          <div class="info-header">
            <div class="header-left">
              <i class="el-icon-share"></i>
              <span>订单统计</span>
            </div>
            <div class="header-right">
              <span>近7日</span>
            </div>
          </div>
          <div class="info-bottom">
            
          </div>
        </li>
        <li>
          <div class="info-header">
            <div class="header-left">
              <i class="el-icon-share"></i>
              <span>订单统计</span>
            </div>
            <div class="header-right">
              <span>近7日</span>
            </div>
          </div>
          <div class="info-bottom">
            <v-chart></v-chart>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
import ECharts from 'vue-echarts'
import 'echarts/lib/chart/line'
import 'echarts/lib/component/polar'
export default {
  data() {
    return {
      
    }
  },
  components: {
    'v-chart': ECharts
  }
}
</script>
<style lang="scss" scoped>
.echarts {
  width: 100%;
  height: 100%;
}
.wrapper{
  width: 100%;
  padding: 14px;
  padding-top: 50px;
  font-family: Roboto;
  background-color: #f3f3f3;
  .header{
    width: 100%;
    height: 168px;
    ul{
      margin: 14px 0;
      display: flex;
      list-style: none;
      li{
        width: 290px;
        height: 140px;
        line-height: 20px;
        border-radius: 8px;
        background-color: rgba(27, 166, 135, 1);
        color: rgba(16, 16, 16, 1);
        font-size: 14px;
        text-align: center;
        font-family: Roboto;
        margin-right: 14px;
      }
    }
  }
  .catagery{
    width: 100%;
    height: 200px;
    line-height: 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    background: #fff;
    .catagery-top{
      width: 100%;
      height: 44px;
      line-height: 44px;
      font-size: 16px;
      text-align: left;
      color: #333;
      margin-left: 10px;
      border-bottom: 1px solid #eee;
      .el-icon-menu{
        vertical-align: middle;
        position: relative;
        top: -1px;
      }
    }
    .catagery-bottom{
      margin-top: 10px;
      width: 100%;
      height: 146px;
      ul{
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        list-style: none;
        li{
          p{
            &:nth-child(1){
              width: 62px;
              height: 52px;
              margin: 0 auto;
              line-height: 52px;
              color: rgba(51, 51, 51, 1);
              font-size: 36px;
              text-align: center;
              font-family: Roboto;
              margin-top: 46px;
            }
            &:nth-child(2){
              width: 85px;
              height: 20px;
              line-height: 20px;
              color: rgba(102, 102, 102, 1);
              font-size: 14px;
              text-align: center;
              font-family: Roboto;
            }
          }
        }
      }
    }
  }
  .info{
    width: 100%;
    height: 449px;
    line-height: 20px;
    border-radius: 8px;
    background-color: #f6f6f6;
    font-size: 14px;
    text-align: center;
    font-family: Roboto;
    ul{
      width: 100%;
      display: flex;
      justify-content: flex-start;
      li{
        width: 594px;
        height: 449px;
        list-style: none;
        margin-right: 21px;
        .info-header{
          width: 100%;
          height: 49px;
          line-height: 49px;
          display: flex;
          justify-content: space-between;
          .header-left{
            font-size: 16px;
          }
          .header-right{
            color: rgba(153, 153, 153, 1);
            font-size: 14px;
            text-align: center;
            font-family: Roboto;
          }
        }
        .info-bottom{
          width: 100%;
          height: 390px;
          margin-top: 10px;
        }
      }
    }
  }
}
</style>